Imagely\NGG\DisplayType\Controller C

Total Complexity 124
Dependencies 20
Dependents 3
Total lines 742
Lines of code 461
Logical lines of code 275
Comment lines 159
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
prepare_legacy_parameters()
B
35 21 78
create_pagination()
B
37 17 70
enqueue_displayed_gallery_trigger_buttons_resources()
A
51 11 25
get_display_type_view_abspath()
A
48 9 31
install_display_type()
A
54 8 21
get_effect_code()
A
54 8 20
get_entity_statistics()
S
51 7 27
legacy_render()
S
56 5 20
get_url_for_alternate_display_type()
S
60 5 12
enqueue_frontend_resources()
S
48 2 42
array_slice_from()
S
63 4 11
array_slice_to()
S
62 3 12
delete_duplicates()
S
62 3 11
array_take_from_start()
S
63 3 11
set_alternative_displayed_gallery()
S
59 2 14
prepare_display_parameters()
S
67 2 8
index_action()
S
82 1 3
uninstall()
S
78 1 4
install()
S
91 1 2
uninstall_display_types()
S
77 1 4
enqueue_pagination_resources()
S
68 1 8
array_take_from_end()
S
78 1 3
is_hidden_from_igw()
S
82 1 3
cache_action()
S
82 1 3
get_template_directory_name()
S
82 1 3
is_cachable()
S
82 1 3
get_alternative_displayed_gallery()
S
82 1 3
get_template_directory_abspath()
S
78 1 3
get_preview_image_url()
S
82 1 3
get_default_settings()
S
82 1 3